.top{
     width: 100%;
     position: relative;
 }
.top img{
    display: block;
    width: 100%;
    height: auto;
}
.zhe{
    background: #fff;
    opacity: .3;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.title{
    margin-top: .4rem;
}
.friends{
    width: 100%;
    min-height:10rem;
    background: #fff;
}
.friends-list{
    width: 95%;
    margin: 0 auto;
    border-top: 1px solid #f7f7f7;
}
.friend-pic{
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    margin-top: .4rem;
    margin-left: .2rem;
    vertical-align: middle;
    position: relative;
}
.friend-pic img{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}
.handle{
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border:1px solid #f7f7f7;
    text-align: center;
    line-height: 2.5rem;
    vertical-align:bottom;
}
.handle img{
    width: 1.5rem;
    display: inline-block;
    height: auto;
    vertical-align:middle;
    position: relative;
}
.jia{
    bottom: .2rem;
    right: .02rem;
}
.jian{
    bottom: .2rem;
}
.friend-btn{
    display: block;
    width: 95%;
    margin: 0 auto;
    border-radius: 30px;
    background: #f7f7f7;
    padding: .5rem 0;
    text-align: center;

}
.friend-bottom{
    padding: 1rem 0;
    background: #F5F5F5;
}
.friend-title{
    margin-top: .4rem;
    background: #fff;
    padding-top: 40%;
    text-align: center;
}
.f-brn{
    padding: .3rem 1.5rem ;
    border-radius: 1rem;
}
.friend-flex{
    padding:20% 10% ;
    display: flex;
    justify-content: space-between;
    background: #fff;
}
.pic{
    padding:0 .4rem;
    margin-top: .4rem;
    background: #fff;
    min-height: 10rem;
}
.delete:before{
    content: "";
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background: #fff url("../images/jian.png") center center no-repeat;
    background-size:1.5rem 1.5rem ;
    opacity: .6;
    position: absolute;
}
.other-nav{
    width: 100%;
    border-bottom: 1px solid #DCDCDC;
    border-top: 1px solid #DCDCDC;
    margin-top: .4rem;
    background: #fff;
}
.other-nav>a:first-child{
    border-right: 1px solid #C7C7C7;
}
.other-nav>a{
    display: inline-block;
    width: 49%;
    text-align: center;
    padding: .5rem 0;
    font-size: .85rem;
    position: relative;
}
.other-nav img{
    width: 1.5rem;
    vertical-align:middle;
}
.other-nav span{
    vertical-align: middle;
}
.activeCl{
    color: #FF5722;
}
.activeCl:before{
    content: "";
    position: absolute;
    display: inline-block;
    width: 2rem;
    height: 3px;
    background: #FF5722;
    bottom: -1px;
    left: 50%;
    margin-left: -1rem;
}
.index-input{
    display: inline-block;
    margin-left: 5%;
    height:1.7rem;
    border-radius: 8px;
    border: none;
    padding: 0 .5rem;
    width: 85%;
    background: #DCDCDC;
}
.index-input:focus,.index-input:hover{
    border: none;
    border-color: #fff;
    outline: none;
}
.index-sou{
    margin: 0 auto;
    position: relative;
    background: #FFF;
    border-bottom: 1px solid #B5B5B5;
}
.index{
    position: relative;
    background: #F5F5F5;
}
.sou{
    display: inline-block;
    width: 1.1rem;
    height:1.1rem;
    background: url("../images/sou.png") no-repeat;
    background-size: cover;
    position: absolute;
    top:.4rem;
    left: 38%;
}
input:-ms-input-placeholder{text-align: center;color: #333}
input::-webkit-input-placeholder{text-align: center;color: #333}
.index-tab{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.goodFriends,.chat{
    margin-top: .5rem;
    border-top: 1px solid #B5B5B5;
    display: none;
}
.goodFriends.active{
    display: block;
}
.goodFriends .weui-label,.chat .weui-label{
    width: 2.7rem;
}
.goodFriends .weui-label img,.chat .weui-label img{
    display: inline-block;
    width: 2rem;
    height:2rem;
    border-radius: 50%;
    vertical-align: middle;
}
.goodFriends .weui-cell,.chat .weui-cell{
    padding: .3rem .8rem;
    background: #fff;
}

.goodFriends .weui-cell:before,.chat .weui-cell:before {
    border-top: 1px solid #B5B5B5;
}
.goodFriends .weui-cell__ft .xx:after{
    content: '';
    background: url("../images/d2.png") center center no-repeat;
    width: 1.1rem;
    display: inline-block;
    height: 1.1rem;
    background-size:1.1rem 1.1rem  ;
}
.goodFriends .weui-cell__ft .xx{
    position: relative;
    top:.2rem;
}
body{
    font-size: .7rem;
}
.chat{
    display: none;
}
.chat.active{
    display: block;
}
.zhe{
    background: #F5F5F5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.chat .weui-cell .weui-cell__bd{
    width: 80%;
    overflow: hidden;
}
.chat .weui-cell .weui-cell__ft{
    position: relative;
    bottom: .6rem;
}
.list.active{
    background: #E6FCFF;
    border-bottom: 1px solid #29C1D4;
    border-top: 1px solid #29C1D4;
 }
.search .sou{
    left: 27%;
}
.search>.goodFriends{
    display: block;
}
 .weui-cells_checkbox .weui-check:checked+.weui-icon-checked:before {
    color: #FF7043;
}
.list{
    position: relative;
 }
.list-btn{
    position: absolute;
    left: 50%;
    bottom:-.8rem;
    padding:0 .4rem;
    border-radius: 1rem;
    background: #B5B5B5;
    z-index: 10000;
    display: none;
}
.list-btn.active{
    display: block;
}
.list-btn a{
    display: inline-block;
    padding: .3rem 0.8rem;
}
.list-btn a:nth-of-type(1){
    border-right: 1px solid #fff;
}
.friend-list{
    position: relative;
    border-bottom: 1px solid #B5B5B5;
}
.screen-main,.delete-main{
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 200000;
    animation: myfirst 200ms;
    -moz-animation: myfirst 200ms;
    -webkit-animation: myfirst 200ms;
    -o-animation: myfirst 200ms;
}
.screen-main.active,.delete-main.active{
    display: block;
}
.f5{
    width: 100%;
    height:.4rem;
    background: #F5F5F5;
}
.m_left{
    margin-top: 1.5rem;
    position: relative;
	display: table;
    padding:0 .5rem;
    min-height: 1rem;
}
.m_left:after,.m_right:before{
    display: block;
    content: "";
    clear: both;
}
.m_left p{
    float: left;
}
.m_left img,.m_right img{
    border-radius: 50%;
    width: 2rem;
    height:2rem;
}
.m_left p,.m_right p{
    display:flex;
    flex-wrap: wrap;
}
.m_left p:nth-of-type(2){
    position: relative;
    top:.1rem;
    left:.7rem;
    border:1px solid #E0E0E0;
    max-width: 70%;
    padding:.2rem .5rem;
    background: #fff;
    line-height: 1.2rem;
    min-height: 1rem;
}
.m_right{
    margin-top: 1.5rem;
    position: relative;
    padding:0 .5rem;
    min-height: 1rem;
    float: right;
    width: 100%;
}
.ms-main .m_right:nth-of-type(1){
    margin-top: .5rem;
}
.m_right p:nth-of-type(2){
    border:1px solid #E0E0E0;
    max-width: 60%;
    padding:.2rem .5rem;
    background: #00BCD5;
    line-height: 1.2rem;
    float: right;
    position: relative;
    top:.1rem;
    right:.7rem;
    min-height: 1rem;
}

.m_left i{
    content: " ";
    display: inline-block;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    height: .5rem;
    width: .5rem;
    border-width: 1px 1px 0 0;
    background: #fff;
    border-color: #E0E0E0;
    border-style: solid;
    position:absolute;
    top:.8rem;
    left:2.95rem;
}
.m_right i{
    content: " ";
    display: inline-block;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    height: .5rem;
    width: .5rem;
    border-width:0 0 1px 1px;
    background: #00BCD5;
    border-color: #00BCD5;
    border-style: solid;
    position:absolute;
    top:.8rem;
    right:2.95rem;
}
.m_right p:nth-of-type(1){
    float: right;
    width: 2rem;
}
.m_right:after,.m_right:before,.m_right p:nth-of-type(2):before,.m_right p:nth-of-type(2):after{
    display: block;
    content: "";
    clear: both;
}
.ms-main>div:last-child{
    margin-bottom:4rem ;
}
.ms-main>div:last-child.active{
    margin-bottom:8rem ;
}
.mshua .weui-label{
    border-right: none;
    width: 1rem;
    margin-right: .5rem;
}
.mshua img{
    display: inline-block;
    height:1.5rem;
    width: auto;
    vertical-align: middle;
}
body{
    background: #f6f5fa;
}
.mshua>div:nth-child(4){
    width: 2rem;
}
.mshua>div:nth-child(2){
    padding-right: .4rem;
}
.mshua>div:nth-child(1){
    padding-right: .2rem;
}
@media only screen and (max-width: 310px) {
    .ms-input{
        width: 50%;
    }
}

#mshua #s2 img{
    width: 2rem;
}
.ms-main:after{
    content: "";
    display: block;
    clear: both;
}
.addFriend{
    width: 70%;
    border-radius: 1rem;
    padding:.1rem ;
    text-align: center;
    border:1px solid #BCBCBC;
    float: left;
    margin: 1rem 0 0 15%;

}
@keyframes myfirst
{
    0%   {top:100%}
    100% {top:0}
}

@-moz-keyframes myfirst
{
    0%   {top:100%}
    100% {top:0}
}

@-webkit-keyframes myfirst
{
    0%   {top:100%}
    100% {top:0}
}

@-o-keyframes myfirst
{
    0%   {top:100%}
    100% {top:0}
}

.quitFriend,#jian{
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 200000;
    animation: myfirst 200ms;
    -moz-animation: myfirst 200ms;
    -webkit-animation: myfirst 200ms;
    -o-animation: myfirst 200ms;
}
.index-sou .weui-search-bar {
    background-color: #fff;
}
.index-sou .weui-search-bar:after,.index-sou .weui-search-bar:before {
    content: " ";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    color: #fff;
}
.index-sou .weui-search-bar__label,.index-sou .weui-search-bar__box{
    background: #DCDCDC;
}
.index-sou .weui-search-bar__cancel-btn {
    color: #FA6E42;
}
.index-sou .weui-icon-search{
    color:#333;
}